package request

type TmallServiceSettleadjustmentCancelRequest struct {
	/*
	   结算调整单ID     */
	Id *int64 `json:"id" required:"true" `
	/*
	   取消原因说明     */
	Comments *string `json:"comments" required:"true" `
}

func (s *TmallServiceSettleadjustmentCancelRequest) SetId(v int64) *TmallServiceSettleadjustmentCancelRequest {
	s.Id = &v
	return s
}
func (s *TmallServiceSettleadjustmentCancelRequest) SetComments(v string) *TmallServiceSettleadjustmentCancelRequest {
	s.Comments = &v
	return s
}

func (req *TmallServiceSettleadjustmentCancelRequest) ToMap() map[string]interface{} {
	paramMap := make(map[string]interface{})
	if req.Id != nil {
		paramMap["id"] = *req.Id
	}
	if req.Comments != nil {
		paramMap["comments"] = *req.Comments
	}
	return paramMap
}

func (req *TmallServiceSettleadjustmentCancelRequest) ToFileMap() map[string]interface{} {
	fileMap := make(map[string]interface{})
	return fileMap
}
